package cn.yunhe.entity;

import lombok.Data;

/*
运单实体类
 */
@Data
public class Send {
    private int sendId;//运单号
    private Consignee consignee;//收件人属性
    private Driver driver;//快递员属性

    public Send() {
    }

    public Send(int sendId, Consignee consignee, Driver driver) {
        this.sendId = sendId;
        this.consignee = consignee;
        this.driver = driver;
    }

    public Send(int sendId) {
        this.sendId = sendId;
    }

    public Send(Consignee consignee, Driver driver) {
        this.consignee = consignee;
        this.driver = driver;
    }
}
